package com.ys.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Setter
@Getter
@ToString
public class User implements Serializable {
    private Integer id;

    private String userName;

    private String password;

    private List<Role> Roles;//拥有的角色

}